#ifndef _U8G2_GRAPHICS_TEST_H_
#define _U8G2_GRAPHICS_TEST_H_

#include "u8g2.h"
#include "main.h"

#define cross_width 24
#define cross_height 24
#define cross_fill_width 24
#define cross_fill_height 24
#define cross_block_width 14
#define cross_block_height 14

extern uint8_t draw_state;
extern const unsigned char cross_bits[];
extern const unsigned char cross_fill_bits[];
extern const unsigned char cross_block_bits[];

void u8g2_prepare(u8g2_t *u8g2);
void u8g2_box_title(u8g2_t *u8g2, uint8_t a);
void u8g2_box_frame(u8g2_t *u8g2, uint8_t a);
void u8g2_disc_circle(u8g2_t *u8g2, uint8_t a);
void u8g2_r_frame(u8g2_t *u8g2, uint8_t a);
void u8g2_string(u8g2_t *u8g2, uint8_t a);
void u8g2_line(u8g2_t *u8g2, uint8_t a);
void u8g2_triangle(u8g2_t *u8g2, uint8_t a);
void u8g2_ascii_1(u8g2_t *u8g2);
void u8g2_ascii_2(u8g2_t *u8g2);
void u8g2_extra_page(u8g2_t *u8g2, uint8_t a);
void u8g2_xor(u8g2_t *u8g2, uint8_t a);
void u8g2_bitmap_overlay(u8g2_t *u8g2, uint8_t a);
void u8g2_bitmap_modes(u8g2_t *u8g2, uint8_t transparent);
void drawGraphic(u8g2_t *u8g2);

void GraphicsTest_PageBuffer(u8g2_t *u8g2);

#endif
